<?php
if (!class_exists('IGeneral')){
	require_once 'igeneral.php';
}
class Decorator extends IGeneral{
	protected $_general;
	public function __construct($general){
		$this->_general = $general;
	}

	public function __call($func, $params){
		$this->_general->$func($params);
	}
}